_=[[
Filename: myip.lua
Created by.: VoidBoi
]]

_, botname = VH:GetConfig("config", "hub_security")
command_prefix = "^.myip"

function VH_OnParsedMsgChat(nick,data)
if string.find(data, command_prefix, 1) then
result, sIP = VH:GetUserIP(nick)
    if result then
        result, error = VH:SendDataToUser("<"..botname.."> Your IP is: "..sIP.."|", nick)
    else
        result, error = VH:SendDataToUser("<"..botname.."> FAGGOT FAIULURE|", nick)
    end
return nil
end

return 1
end